package sheji.jianZao.gongChangFangfa;

public class FactoryDemo {

    public static void main(String[] args) {
        Creator creator = new ConcreteCreator();

        Product product = creator.factory(ConcreteProduct.class);
        product.method1();
    }

}
